From c5da4bee0df769a83bbebcfc4f105e5326f62987 Mon Sep 17 00:00:00 2001 From: Adrien Hopkins Date: Fri, 19 Aug 2022 12:05:20 -0500 Subject: Extracted all remaining strings to en.json - Changed SATS to SAT, and hours to hr to be more international - Edited conversion fee warning because it was incorrect (you only pay a fee if you're converting between BTC<->Liquid<->Lightning) --- src/routes/[username]/+page.svelte | 7 +-- src/routes/[username]/dashboard/+page.svelte | 20 +++++---- src/routes/[username]/receive/+page.svelte | 11 ++--- src/routes/[username]/settings/+page.svelte | 57 ++++++++++++------------- src/routes/[username]/support/+page.svelte | 11 ++--- src/routes/[username]/transactions/+page.svelte | 15 ++++--- 6 files changed, 63 insertions(+), 58 deletions(-) (limited to 'src/routes/[username]') diff --git a/src/routes/[username]/+page.svelte b/src/routes/[username]/+page.svelte index 973e8798..f22bd218 100644 --- a/src/routes/[username]/+page.svelte +++ b/src/routes/[username]/+page.svelte @@ -4,6 +4,7 @@ import { AppHeader, Icon, PageNotFound } from '$comp'; import { user } from '$lib/store'; import { copy } from '$lib/utils'; + import { _ } from 'svelte-i18n'; export let data; $: ({ username } = data); @@ -43,7 +44,7 @@

{username}

-

Address goes here

+

{$_('user.addressGoesHere')}

@@ -62,7 +63,7 @@ class="w-[292px] md:w-[342px] h-[342px] border border-lightgrey rounded-3xl flex p-5 justify-center items-center relative" /> -

Scan to pay with bitcoin

+

{$_('user.scanToPayBTC')}

{#if !withdrawing} Bitcoin Price: {$rate ? btcPrice : 'fetching rate...'} + >{$_('user.dashboard.bitcoinPrice')} + {$rate ? btcPrice : $_('user.dashboard.fetchingRate')} {$preferredCurrency} Data from Binance. + >{@html $_('user.dashboard.dataFromBinance')}

- ACCOUNT BALANCE + {$_('user.dashboard.ACCOUNT_BALANCE')}

{$rate ? accountBalanceFiat : 'fetching rate...'}{$rate ? accountBalanceFiat : $_('user.dashboard.fetchingRate')} - {accountBalanceSats} SATS + {accountBalanceSats} SAT $_('user.dashboard.withdraw') -

You will be charged a 1% withdrawal fee on the amount.

+

{$_('user.dashboard.conversionFeeWarning')}

{:else}
- +